package com.engine4cloud.tdf.education.convert;

import com.engine4cloud.tdf.education.dto.result.EduStudentResultDTO;
import com.engine4cloud.tdf.education.dto.EduStudentDTO;
import com.engine4cloud.tdf.education.entity.EduStudentEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface EduStudentConvert {
    EduStudentConvert INSTANCE = Mappers.getMapper(EduStudentConvert.class);

    EduStudentEntity create(String groupCode, EduStudentDTO s, Long tenantId);

    EduStudentResultDTO convert(EduStudentEntity s);

}
